package com.brunogb.pages.server.model;

import java.io.Serializable;
import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.KeyFactory;

/**
 * @author jairo
 *
 */
public abstract class BaseModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6562435833352912813L;
	
	protected final static Key creatKey(Class<?> clazz, Object var){
		return KeyFactory.createKey(clazz.getSimpleName(),var.toString());
	}
	
}
